package com.blue.gateway.enums;

/**
 * @author xiaoyiming
 * @date 2020/5/5 14:39
 * @depiction
 */
public enum ServiceChannelEnum {

	/** 支付服务 */
	PAY(1,"Pay"),
	/** 退款服务 */
	REFUND(2,"Refund"),
	/** 支付结果查询服务 */
	PAY_QUERY(3,"PayQuery"),
	/** 退款结果查询服务 */
	REFUND_QUERY(4,"RefundQuery"),
	/** 微信统一下单服务 */
	UNIFIED_ORDER(5,"UnifiedOrder"),
	/** 支付异步回调 */
	PAY_NOTIFY(6,"PayNotify"),
	/** 退款异步回调 */
	REFUND_NOTIFY(7,"RefundNotify"),
	/** 对账单下载 */
	BILL_DOWNLOAD(8,"BillDownload"),
	/** 回调参数解析 */
	NOTIFY_PARSE(9,"NotifyParse"),
	/** 取消支付服务 */
	CANCEL(10,"Cancel"),
	/** 参数解析服务 */
	PARA_PARSE(11,"ParaParse"),


	;
	private int code;
	private String value;

	ServiceChannelEnum(int code,String value) {
		this.code = code;
		this.value =value;
	}

	public int getCode() {
		return code;
	}

	public String getValue() {
		return value;
	}
}
